@import 'common';

body{
    background: white;
}
.encyclopedia-header {
    width: 100%;
    height: 44px;
    line-height: 44px;
    background: #ff4163;
    position: relative;
    .backicon {
        position: absolute;
        top: 12px;
        left: 10px;
        font-size: 12px;
        color: #fff;
        background: url(../img/3gnewicon.png) no-repeat -51px -265px transparent;
        width: 40px;
        height: 25px;
        background-size: 89px 425px;
    }
    .logo2014 {
        width: 120px;
        height: 20px;
        margin: 0 auto;
    }
    .menuicon {
        position: absolute;
        top: 14px;
        right: 10px;
        font-size: 12px;
        color: #fff;
        background: url(../img/3gbaike.png) no-repeat 0px -2px transparent;
        width: 20px;
        height: 20px;
        background-size: 166px 100px;
        display: block;
    }
    .sousuopo {
        position: absolute;
        top: 44px;
        left: 0px;
        width: 100%;
        background: #51555D;
        height: 40px;
        z-index: 9;
        padding: 0 10px;
        box-sizing: border-box;
        input {
            border: none;
            background: #fff;
            display: block;
            float: left;
            outline: none;
            padding: 0px;
            margin: 0px;
            margin-top: 7px;
            font-stretch: normal;
            font: 13px Arial,Helvetica,clean,sans-serif;
        }
        .suoinp {
            color: #999;
            width: 75%;
            height: 26px;
            line-height: 26px;
        }
        .souinpbtn {
            background: #ff4163;
            color: #fff;
            height: 26px;
            line-height: 26px;
            width: 25%;
        }
    }
}

.allnav {
    position: relative;
    border-bottom: 1px solid #f6f6f6;
    .moremenu {
        overflow: hidden;
        height: 3em;
        .Swiper-container {
            width: 100%;
            height: 3em;
            margin: 0px auto;
            position: relative;
            overflow: hidden;
            z-index: 1;
            .swiper-wrapper {
                position: relative;
                width: 100%;
                height: 100%;
                z-index: 1;
                display: flex;
                box-sizing: content-box;
                transition-property: transform;
                transition-timing-function: ease-out;
                margin: 0 auto;
                .swiper-slide {
                    flex-shrink: 0;
                    height: 100%;
                    position: relative;
                    transform: translate3d(0,0,0);
                    text-align: center;
                    background: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: auto !important;
                     a {
                        display: block;
                        width: 100%;
                        height: 100%;
                        padding: 0 10px;
                        line-height: 3em;
                    }
                }
            }
        }
    }
}

.sWiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    .swiper-wrapper {
        position: relative;
        width: 100%;
        z-index: 1;
        display: -webkit-flex;
        display: flex;
        transition-property: transform;
        box-sizing: content-box;
        transform: translate3d(0,0,0);
        .swiper-slide {
            flex-shrink: 0;
            width: 100%;
            position: relative;
            transform: translate3d(0,0,0);
            img{
                width: 100%;
                height: auto;
            }
            .slidconttext {
                position: absolute;
                right: 0px;
                bottom: .15rem;
                background: #ff4163;
                color: #fff;
                z-index: 999;
                border-top-left-radius: .16rem;
                border-bottom-left-radius: .16rem;
                padding: .02rem 0.5em .02rem 1em;
            }
        }
    }
    .swiper-pagination {
        position: absolute;
        text-align: center;
        transition: .3s;
        transform: translate3d(0,0,0);
        z-index: 10;
        bottom: .1rem;
        left: 0;
        width: 100%;
        .swiper-pagination-bullet {
            width: .08rem;
            height: .08rem;
            display: inline-block;
            border-radius: 100%;
            background: #000;
            opacity: .2;
            cursor: pointer;
            margin: 0 .05rem;
        }
        .swiper-pagination-bullet-active {
            opacity: 1;
            background: #007aff;
        }
    }
}

.content {
    padding: 0px .1rem .2rem .1rem;
    margin-top: .1rem;
    .pubboxindex {
        padding-bottom: 15px;
        .pubtitindex {
            border-bottom: 1px solid #ff4163;
            height: 28px;
            line-height: 28px;
            margin-bottom: 8px;
            padding-bottom: .02rem;
            a {
                display: inline-block;
                height: 28px;
                line-height: 28px;
                font-size: .16rem;
                font-weight: normal;
                color: #999;
                margin-right: 15px;
            }
            .current {
                color: #ff4163;
            }
        }
    }
    .postlist {
        border-bottom: 1px dotted #BDBDBD;
        padding-bottom: 15px;
        margin-bottom: 20px;
        position: relative;
        a {
            width: 25%;
            .postpic {
                position: absolute;
                left: 0px;
                width: 108px;
                border: 1px solid #e4e4e4;
                height: 82px;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .postcont {
            padding-left: 120px;
            min-height: 82px;
            a {
                width: 100%;
                title {
                    font-size: .16rem;
                    color: #111;
                    display: block;
                }
                .continfor {
                    color: #909090;
                    font-size: .14rem;
                    padding-top: .05rem;
                    line-height: 1.4em;
                    height: 2.8em;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                }
            }
            .indextags {
                padding-top: .15rem;
                font-size: .14rem;
                a {
                    float: left;
                    margin-right: 20px;
                    background: #f6f6f6;
                    border-radius: .02rem;
                    display: block;
                    width: auto;
                    border: 1px solid #ededed;
                }
            }
        }
        .postcont1{
            padding-left: 0;
        }
    }
    .pubmorebtn {
        a {
            display: block;
            background-color: #F8F8F8;
            line-height: 30px;
            font-size: 16px;
            height: 30px;
            color: #7C9AD9;
            text-align: center;
            border-radius: 3px;
        }
    }
}
.tukubox {
    width: 100%;
    overflow: hidden;
    li {
        float: left;
        margin: 5px 3%;
        width: 44%;
        img {
            width: 138px;
            margin: 0px auto;
        }
        .inforcont {
            line-height: 20px;
            height: 20px;
            margin: 5px 0px;
            font-size: 14px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            text-align: center;
        }
    }
}

.footerbox {
    width: 100%;
    .footerbtnbox {
        width: 100%;
        overflow: hidden;
        background: #E5E5E5;
        padding: 6px 0;
        border-top: 1px solid #dadada;
        border-bottom: 1px solid #dadada;
        ul {
            width: 120%;
            li {
                width: 16%;
                margin: 0 2%;
                float: left;
                text-align: center;
                line-height: 26px;
                a {
                    color: #999;
                    font-size: 0.9em;
                }
            }
            .shuxian {
                width: 0px;
                font-weight: normal;
                font-size: 12px;
                color: #D0D0D0;
                margin: 0;
            }
        }
    }
    .footerline {
        text-align: center;
        font-size: 12px;
        color: #ccc;
        padding: 20px 0 35px 0;
        line-height: 20px;
    }
}